package com.example.obliczbmi;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle; 
import android.view.View;
import android.view.View.OnClickListener;

public class MainActivity extends Activity {

	public void onBtnAparatClick(View v) {
		Intent myIntent = new Intent( this, CameraActivity.class);
		startActivityForResult(myIntent,0);
	}
	
	public void onBtnBMI_Click(View v) {
		Intent myIntent = new Intent( this, BMIActivity.class);
		startActivityForResult(myIntent, 0);
	}
	
	
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}
}
